<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../core/include.inc.jsp"%>

<form id="pagerForm" method="post" action="payType_list">
    <input type="hidden" name="pageNum" value="${pageModel.pageNum}" />
    <input type="hidden" name="numPerPage" value="${pageModel.numPerPage}" />
</form>
<form onsubmit="return navTabSearch(this);" action="payType_list" method="post">
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="add" href="to_payType_add" target="dialog" rel="to_payType_add"
                   width="600" height="400" mask="true"><span>新增</span></a></li>
            <li class="line">line</li>
            <li><a class="edit" href="to_payType_edit?id={item_id}" target="dialog" rel="to_payType_edit"
                   width="600" height="400" mask="true"><span>修改</span></a></li>
            <li class="line">line</li>
            <li><a class="delete" href="payType_delect?id={item_id}"target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
            <li class="line">line</li>
        </ul>
    </div>
    <table class="table" width="100%" layoutH="137">
        <thead>
        <tr>
            <th>序号</th>
            <th>缴费类型</th>
            <th>备注</th>
            <th>创建时间</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach var="item" items="${list}" varStatus="st">
            <tr target="item_id" rel="${item.id}" ondblclick="tableclick()">
                <td>${st.index+1}</td>
                <td>${item.paymentType}</td>
                <td>${item.remark}</td>
                <td>
                    <fmt:formatDate value="${item.createTime}" pattern="yyyy-MM-dd"/>
                </td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
<br><br>
    <c:import url="../core/pagebar.inc.jsp" />

</div>
</form>